using System;
using System.Linq;
namespace Soft1ApiDemo.Domain.Repository
{
    public interface IRepository<T>
    {
        T GetById(Guid id);
        IQueryable<T> Table{get;}
        T Add(T entity);
        void Update(T entitiy);
        void Delete(Guid id);
    }
}